package com.lianqi.emcpframework.dataaccess;

import com.lianqi.emcpframework.core.dict.EnumDict;
import com.lianqi.emcpframework.core.dict.annotation.Dict;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @program emcp-portal
 * @description: 数据访问限制类型
 * @author: sky
 * @create: 2019/05/27 16:56
 */
@Getter
@AllArgsConstructor
@Dict(id = "FieldFilterType")
public enum FieldFilterType implements EnumDict<String> {

    scope("scope","字段范围","实体字段限定-字段范围"),
    deny("deny","字段黑名单","实体字段限定-字段黑名单"),
    mask("mask","字段脱敏处理名单","实体字段限定-字段脱敏处理名单"),
    none("none","默认","实体字段限定-默认");

    private String value;

    private String text;

    private String comments;
}
